package com.itheima.user.client;

import com.itheima.entity.dto.UserClientDto;
import com.itheima.entity.dto.UserDto;
import com.itheima.entity.vo.RecommendVo;
import com.itheima.entity.vo.Result;
import com.itheima.entity.vo.UserVo;
import com.itheima.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Set;

/**
 * @author :WuJunJie
 * packageName :com.itheima.user.controller
 * fileName :UserController
 * creationTime :2022-12-10 19:04
 */

@RestController
@RequestMapping("/userService/userClient")
public class UserClientController {

    @Autowired
    private UserService userService;

    @PostMapping
    public Result selectUsersByIds(@RequestBody UserClientDto userClientDto){


        return Result.success(userService.selectByIds(userClientDto.getIds()));
    }









}
